package com.lyl.serviceedu.service;

import com.lyl.commonutils.R;
import com.lyl.serviceedu.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lyl.serviceedu.entity.vo.CourseApiVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-08
 */
public interface SubjectService extends IService<Subject> {


    /**
     * 批量导入
     * @param file
     */
    void batchImport(MultipartFile file);

    R importSubject(MultipartFile file);

    Subject getByTitle(String title);

    Object getAllSubject(Object o);

    boolean deleteById(Long id);

    boolean addSubject(Subject subject);
}
